home *** CD-ROM | disk | FTP | other *** search
- Short: Make FTP script for UNIX system (v1.2)
- Author: domagal@uci.agh.edu.pl (Grzegorz Fitrzyk)
- Uploader: domagal@uci.agh.edu.pl (Grzegorz Fitrzyk)
- Type: comm/misc
-
- If you have rights to use account on UNIX based system and you're
- coming to internet by phone line, it will be very good way for you
- to save some money. Autor of this script is collecting some part
- of recent files which he will to download, and from time to time
- he is making script with many NCFTP commands. After it hi upload
- it to his account on UNIX system and turn it on by commands:
-
- screen -R
- chmod 700 script
- script
-
- press <ctrl-A-C> (it will open new screen)
- and when a screen is change hi logout. Now hi turn off modem, and
- wait some time, and later hi doing FTP to his account and download
- all files.
- There is a many way to start script under UNIX but problem is that
- when you logout, your script is hangin off. This method is working.
- If on your server's no SCREEN command then try:
-
- batch < script
-
- I never tested it but it will working, I hope...
- This script is doing from RECENT file script for UNIX based system.
- For example, every line of your RECENT file it will change to chain
- of command:
- orginal line of RECENT file:
-
- ...
- WatchWatcher.lha util/time 14K+Checks your clock's sanity V1.3 By F.Ultra
- ...
-
- after use MakeFTPScript.rexx
-
- ...
- ncftp ftp.wustl.edu:pub/aminet/util/time/WatchWatcher.lha
- ncftp ftp.wustl.edu:pub/aminet/util/time/WatchWatcher.readme (with README
- switch on)
- ...
-
- Usage: rx makeFTPScript.rexx ADDRESS/K SOURCE/K DEST/K README/S
- where: ADDRESS is address of ftp server where you like to download.
- SOURCE is filename of your RECENT file.
- DEST is filename of output file. (I'm using script name)
- README is switch which allow to make additional line with ".readme"
-
- New feature! This script count total size of requested files.
-
- I hope you understand what I mean, because my English is poor :).
-